#include "nation.h"
#include "mediator.h"
void Usa::declare(const std::string &msg)
{  
    std::cout<<"We, America, notation follows:"<<std::endl;
    std::cout<<msg<<std::endl;
    Nation::m_un->declare(msg,this);
}
void Usa::notify(const std::string &msg)
{
    std::cout<<"American receive the msg:"<<std::endl;
    std::cout<<msg<<std::endl;
}
void Irap::declare(const std::string &msg)
{
    std::cout<<"We, Irap, notation follows:"<<std::endl;
    std::cout<<msg<<std::endl;
    Nation::m_un->declare(msg,this);
}
void Irap::notify(const std::string &msg)
{
    std::cout<<"Irap receive the msg:"<<std::endl;
    std::cout<<msg<<std::endl;
}